/**
 * crawler
 *
 * outlook@China software studio
 * Copyright (c) 2008-2010. All Rights Reserved.
 * http://www.outlook.com
 */

package org.outlook.common.queue;

import org.outlook.common.queue.Task;

/**
 * function:
 * 
 * @author Watson email: watson.wu@hotmail.com
 * @date 2011
 */
public class Talk extends Task {

	private Object msg;

	public Object getMsg() {
		return msg;
	}

	public void setMsg(Object msg) {
		this.msg = msg;
	}

	public Talk() {
		super();
	}

	public Talk(Object msg) {
		this.msg = msg;
	}

	public void run() {
		System.out.println("say : " + msg + " to public");
	}

	@Override
	public String toString() {
		return getMsg().toString(); 
	}

}
